.main {
	width: 100%;
	height: 748px;
	background-image: url('../img/login.jpg');
}

.main .form {
	width: 50%;
	height: 700px;
	margin: 0 auto;
	text-align: center;
}

.main .form h2 {
	height: 100px;
	line-height: 100px;
	font-size: 1.5em;
	font-weight: bold;
	color: white;
}

.main .form .user,
.main .form .password,
.form-control,
.main .form button {
	height: 50px;
	width: 300px;
	/* 设置账号输入框的宽度 */
	margin: 20px;
	border-radius: 10px;
}

.main .form .user,
.main .form .password,
.form-control {
	padding-left: 10px;
}

.main .form button {
	color: white;
	background: #007BFF;
}

.main .form button:hover {
	background: #0056b3;
}

.main .form a {
	text-decoration: none;
	color: white;
	font-size: 20px;
	margin-left: 240px;
}

.checkbox {
	margin-top: 20px;
}

.checkbox .radio {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.checkbox .checkbox-label {
	position: relative;
	margin-top: 5px;
	padding-left: 30px;
	font-size: 13px;
	line-height: 15px;
	cursor: pointer;
	color: white;
}

/* 自定义复选框样式 */
.checkbox .custom-checkbox.checkmark {
	position: absolute;
	top: 0px;
	left: 185px;
	height: 15px;
	width: 15px;
	background-color: #eee;
	border: 1px solid #ccc;
}

/* 当复选框被选中时的样式 */
.checkbox .radio:checked+.checkbox-label .custom-checkbox.checkmark::after {
	content: '✔';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	background-color: gray;
}

.form-group {
	margin-bottom: 1em;
}

label {
	display: block;
	color: white;
	margin-bottom: 0.5em;
}

.captcha-group {
	display: flex;
	align-items: center;
	width: 300px;
	/* 与账号输入框宽度相同 */
	margin: 0 auto;
}

.captcha-group label {
	margin-right: 10px;
	flex-shrink: 0;
	/* 防止标签收缩 */
}

.captcha-group .form-control {
	flex: 1;
	margin-right: 10px;
}

.captcha-group .form-control.yzm {
	width: 100px;
}

.captcha-group #captcha-question {
	margin-left: auto;
	flex-shrink: 0;
	/* 防止验证码问题收缩 */
}

.btn {
	width: 100%;
	padding: 0.5em;
	background-color: #007bff;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.btn:hover {
	background-color: #0056b3;
}